package com.liyuci.eleon;

import com.liyuci.core.properties.XxxProperties;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 
 * @author liyuci
 * @date 2018-02-04 14:27:55
 */

@RestController
@Api(tags = {"XXX信息"})
public class RestXXXController {

	@Autowired
	private XxxProperties xxxProperties;
	
	@ApiOperation(value = "xxx")
	@GetMapping("/xxx")
	public XxxProperties xxx()
	{
		
		return xxxProperties;
	}
}
